﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WpfSnqkGasAnalysis.Model
{
    /// <summary>
    /// 特殊报告。实体
    /// </summary>
    /// 创建时间：2022-12-15 16:06:39。作者：王浩力
    public class Teshu_gas : BaseModel
    {
        /// <summary>
        /// 主键
        /// </summary>
        public long Id { get; set; }

        /// <summary>
        /// 报告编号
        /// </summary>
        public string Report_no { get; set; }

        /// <summary>
        /// 井号
        /// </summary>
        public string Well_no { get; set; }

        /// <summary>
        /// 井深
        /// </summary>
        public string Well_deep { get; set; }

        /// <summary>
        /// 取样温度,摄氏度℃
        /// </summary>
        public decimal? Sample_temperature { get; set; }

        /// <summary>
        /// 顶界层位
        /// </summary>
        public string Top_boundary { get; set; }

        /// <summary>
        /// 底界层位
        /// </summary>
        public string Bottom_boundary { get; set; }

        /// <summary>
        /// 油压
        /// </summary>
        public decimal? Oil_pressure { get; set; }

        /// <summary>
        /// 套压
        /// </summary>
        public decimal? Casing_pressure { get; set; }

        /// <summary>
        /// 取样位置
        /// </summary>
        public string Sampling_location { get; set; }

        /// <summary>
        /// 委托单位
        /// </summary>
        public string Client { get; set; }

        /// <summary>
        /// 取样人
        /// </summary>
        public string Sampler { get; set; }

        /// <summary>
        /// 分析人
        /// </summary>
        public string Analyst { get; set; }

        /// <summary>
        /// 取样单位
        /// </summary>
        public string Sampling_unit { get; set; }

        /// <summary>
        /// 采样时间
        /// </summary>
        public string Sampling_time { get; set; }

        /// <summary>
        /// 录入人姓名
        /// </summary>
        public string Input_real_name { get; set; }

        /// <summary>
        /// 录入人id
        /// </summary>
        public long Input_user_id { get; set; }

        /// <summary>
        /// 录入时间
        /// </summary>
        public string Input_time { get; set; }

        /// <summary>
        /// 删除时间
        /// </summary>
        public string Del_time { get; set; }

        /// <summary>
        /// 校对人姓名
        /// </summary>
        public string Proofread_real_name { get; set; }

        /// <summary>
        /// 校对人id
        /// </summary>
        /// 创建时间：2023-1-8 23:56:45
        public long? Proofread_user_id { get; set; }
        
        /// <summary>
        /// 校对时间
        /// </summary>
        public string Proofread_time { get; set; }

        /// <summary>
        /// 状态，1=待校对，2=待审核，3=被驳回，4=审核通过
        /// </summary>
        public byte? O_step { get; set; }

        /// <summary>
        /// 步骤值，文本
        /// </summary>
        public string O_stepTXT
        {
            get
            {
                if (O_step == 1)
                {
                    return "待校对";
                }
                if (O_step == 2)
                {
                    return "待审核";
                }
                if (O_step == 3)
                {
                    return "被驳回";
                }
                if (O_step == 4)
                {
                    return "审核通过";
                }
                return "待校对";
            }
        }
    
    }
}
